//
//  AppDelegate.h
//  UESTCPioneer
//
//  Created by Sway on 14-3-5.
//  Copyright (c) 2014年 Sway. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PPRevealSideViewController.h"
#import "CommunicationViewController.h"
@class LeveyTabBarController;

@class emojiViewController;
@class JXMainViewController;
@class JXGroupViewController;
@interface AppDelegate : UIResponder <UIApplicationDelegate,IChatManagerDelegate>{
   
}

@property (strong, nonatomic) UIWindow * window;
@property (strong, nonatomic) PPRevealSideViewController * revealSideViewController;
//@property(strong,nonatomic)    UINavigationController *centerViewController;
@property (strong,nonatomic) CommunicationViewController * comController;
- (void) showAlert: (NSString *) message;

//- (NSString *)docFilePath;
//- (NSString *)dataFilePath;
//- (NSString *)tempFilePath;
//- (NSString *)imageFilePath;
//-(UIButton*)createFooterButton:(NSString*)s action:(SEL)action target:(id)target;

//-(NSString*)formatdateFromStr:(NSString*)s format:(NSString*)str;
//-(NSString*)formatdate:(NSDate*)d format:(NSString*)str;
//-(void)postSourceData:(NSData *)sourceData  sourcePath:(NSString *)sourcePath  mediaType:(NSString *)mediaType sourceName:(NSString *)sourceName;
//-(void) getSourceData:(NSString *)romotePath;

@property (retain, nonatomic) emojiViewController* faceView;
@property (retain, nonatomic) JXGroupViewController* groupVC;
@property (retain, nonatomic) JXMainViewController *mainVc;
@property (strong,nonatomic) NSMutableData * datas;
@property (strong,nonatomic)  NSMutableArray * requestQueue;
@property (strong,nonatomic)  NSMutableArray * totalBytesRcv;
@property (strong,nonatomic)  NSMutableArray * downloadController;
@property (nonatomic) BOOL isUsed;

@end
